package String;

/**
 * @author 孤雪唯方
 * @date 2025/05/18
 * @description 测试字符串使用的简单Person类
 */
public class Person {
    public String name;
    public int age;

    @Override
    public String toString() {
        //return super.toString();
        return "Person [name=" + name + ", age=" + age + "]";
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
